package com.ming.springboot.annotation.profile;

import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Component;

/**
 * Created by mqsi on 2022/5/11 9:37
 */
@Component
@Profile("test")
public class English implements Movefactor{
	@Override
	public void speak() {
		System.out.println("I am an english");
	}
}
